package com.qf.smsplatform.mapper;
/*2021/10/29*/

import com.qf.smsplatform.pojo.TSmsTemplate;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @YuTao
 */
public interface TSmsTemplateMapper {
    void insertTemplate(TSmsTemplate tSmsTemplate);

    @Select("select * from t_sms_template")
    List<TSmsTemplate> selectAllTemplate();

    void updataTemplate(TSmsTemplate tSmsTemplate);

    @Delete("delete from t_sms_template where id =#{id}")
    void deleteTemplate(Long id);
}
